
import React from 'react';
import close from 'common/asset/img/award/close.png';
import storeCouponBg from 'common/asset/img/award/storeCouponBg.png';
import css from './index.less';

export default class tmallCoupon extends React.Component {
  constructor(props) {
    super(props);
  }

  render() {
    const { code } = this.props.lottery;
    return (
      <div className={css.mask}>
        <div className={css.goodsBox}>
          <img src={close} className={css.close} onClick={() => { this.props.onClose(); }} alt=""/>
          <img src={this.props.award.notice} className={css.bg} alt=""/>
        </div>
        <div className={css.content}>
          <img src={storeCouponBg} className={css.bg} alt=""/>
          <div className={css.box}>
            <input className={css.input} type="text" readOnly={true} value={`劵码：${code}`} onChange={() => {}}/>
          </div>
        </div>
      </div>
    );
  }
}
